using UnityEngine;

public class DrawCube : MonoBehaviour
{
    //Gizmos API : https://docs.unity3d.com/ScriptReference/Gizmos.html


    private void OnDrawGizmos()
    {
        Debug.Log("OnDrawGizmos");
    }

    private void OnDrawGizmosSelected()
    {
        Debug.Log("OnDrawGizmosSelected");

        // Draw a yellow cube at the transform position
        Gizmos.color = Color.yellow;
        Gizmos.DrawWireCube(transform.position, new Vector3(1, 1, 1));
    }
}
